/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.net;

import java.io.Serializable;

/**
 *
 * @author triki
 */
public class UserInfoMessage implements Serializable {

    private final String user_ip;
    private final int user_port;

    public UserInfoMessage(String ip,int port)
    {
        user_ip = new String(ip);
        user_port = port;
    }

    public String getIp()
    {
        return user_ip;
    }

    public int getPort()
    {
        return user_port;
    }
}
